/*
* Conditions Of Use
*
* This software was developed by employees of the Sigmatrix(Beijing) Corporation.
* This software is provided by sigmatrix as a service and is expressly
* provided "AS IS."  Sigmatrix MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
* AND DATA ACCURACY.  Sigmatrix does not warrant or make any representations
* regarding the use of the software or the results thereof, including but
* not limited to the correctness, accuracy, reliability or usefulness of
* the software.
*
* Permission to use this software is contingent upon your acceptance
* of the terms of this agreement.
*
*/
package com.sigmatrix.h5.dao;

import java.util.List;

import com.sigmatrix.h5.dao.impl.common.BaseDao;
import com.sigmatrix.h5.entity.DevanningPackingBox;
import com.sigmatrix.h5.exception.DaoException;

/**
 *@ClassName: DevanningPackingBoxDao
 *@Description: 拆补箱操作数据库操作接口
 *@author youjun
 *@date 2017-07-08 15:21:46
 */
public interface DevanningPackingBoxDao extends BaseDao<DevanningPackingBox> {

	/**
	 *@Title: findById
	 *@Description: 根据主键查找拆补箱操作
	 *@return DevanningPackingBox
	 *@author youjun
	 *@date 2017-07-08 15:21:46
	 *@param id
	 *@param enterpriseCode
	 *@return
	 *@throws DaoException 
	 */
	DevanningPackingBox findById(final Long id, final String enterpriseCode) throws DaoException;
	
	/**
	 *@Title: save
	 *@Description: 保存拆补箱操作
	 *@return int
	 *@author youjun
	 *@date 2017-07-08 15:21:46
	 *@param devanningPackingBox
	 *@param enterpriseCode
	 *@return
	 *@throws DaoException 
	 */
	int save(final DevanningPackingBox devanningPackingBox, final String enterpriseCode) throws DaoException;

	/**
	 *@Title: update
	 *@Description: 更新拆补箱操作
	 *@return int
	 *@author youjun
	 *@date 2017-07-08 15:21:46
	 *@param devanningPackingBox
	 *@param
	 *@return
	 *@throws DaoException 
	 */
	int update(final DevanningPackingBox devanningPackingBox, final String enterpriseCode) throws DaoException;
	
	/**
	 *@Title: findListByCondition
	 *@Description: 根据条件查找拆补箱操作列表
	 *@return List<DevanningPackingBox>
	 *@author youjun
	 *@date 2017-07-08 15:21:46
	 *@param devanningPackingBox
	 *@param enterpriseCode
	 *@return
	 *@throws DaoException
	 */
	List<DevanningPackingBox> findListByCondition(final DevanningPackingBox devanningPackingBox, final String enterpriseCode) throws DaoException;
}
